package com.guinea.skoru.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.guinea.core.web.BaseForm;

public class TownForm extends BaseForm {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4681255405195154178L;
	private Long id;
	private String provinceId;
	private String cityId;
	private String districtId;
	private String typeCode;
	private String planAge;
	private Long planedQuantity;
    public void reset(ActionMapping mapping, HttpServletRequest request){
		super.reset(mapping,request);
		//招募城市网络形态<recruitTownType> 默认为 特许经销商
		typeCode = "2";
		//计划年份 默认为 当前年份
		planAge = "2011";
		//计划数量 默认为 1
		planedQuantity = new Long(1L);
	}
	public String getCityId() {
		return cityId;
	}
	public void setCityId(String cityId) {
		this.cityId = cityId;
	}
	public String getDistrictId() {
		return districtId;
	}
	public void setDistrictId(String districtId) {
		this.districtId = districtId;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getPlanAge() {
		return planAge;
	}
	public void setPlanAge(String planAge) {
		this.planAge = planAge;
	}
	public Long getPlanedQuantity() {
		return planedQuantity;
	}
	public void setPlanedQuantity(Long planedQuantity) {
		this.planedQuantity = planedQuantity;
	}
	public String getProvinceId() {
		return provinceId;
	}
	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}
	public String getTypeCode() {
		return typeCode;
	}
	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}
    
}
